<template>
	<view class="container">
		<u-navbar :is-back="true" title="收藏" back-icon-color='#333333' height="50" :border-bottom="false">
			<view class="" style="margin-left: 600rpx; display: flex;align-content: center;"
				@click="$toLink('../add_vacate/add_vacate',{})">
				<image src="../../static/tupian95.png" mode="widthFix" style="width: 30rpx;"></image>
			</view>
		</u-navbar>
		<view class="toggle">
			<text>张老师</text>
			<text>(语文)</text>
			<text></text>
		</view>
		<view class="teacherList">
			<view class="" style="width:100%; height:30rpx;">
			</view>
			<view class="teacher">
				<view class="top">
					<view class="left_img">
						<image src="../../static/tupian120.png" mode="widthFix"> </image>
					</view>
					<view class="right_content">
						<view class="">
							<text>张老师</text>
							<text>(初一语文)</text>
						</view>
						<view class="">
							<text>如何高效的提高记忆力</text>
						</view>
					</view>
				</view>
				<view class="imgList">
					<image :src="left_url" mode="widthFix"></image>
					<image :src="right_url" mode="widthFix"></image>
				</view>
				<view class="time">
					<text>2小时前</text>
					<image src="../../static/tupian132.png" mode="widthFix"></image>
				</view>
				<view class="comment">
					<view class="">
						<image src="../../static/tupian133.png" mode="widthFix"></image>
						<text>花花妈妈</text>
					</view>
					<view class="">
						<text>花花妈妈:</text>
						<text>张老师怎么提高写作啊?</text>
					</view>
				</view>
				<view class="" style="width:710rpx; height:30rpx; margin-left:20rpx;border-bottom:1rpx solid #e5e5e5;">
				</view>
				<view class="" style="width:100%; height:30rpx;">
				</view>
				<view class="top">
					<view class="left_img">
						<image src="../../static/tupian120.png" mode="widthFix"> </image>
					</view>
					<view class="right_content">
						<view class="">
							<text>张老师</text>
							<text>(初一语文)</text>
						</view>
						<view class="">
							<text>如何高效的提高记忆力</text>
						</view>
					</view>
				</view>
				<view class="imgList">
					<image :src="left_url" mode="widthFix"></image>
					<image :src="right_url" mode="widthFix"></image>
				</view>
				<view class="time">
					<text>2小时前</text>
					<image src="../../static/tupian132.png" mode="widthFix"></image>
				</view>
			</view>
		</view>
		<view class="teacherList">
			<view class="" style="width:100%; height:30rpx;">
			</view>
			<view class="teacher">
				<view class="top">
					<view class="left_img">
						<image src="../../static/tupian120.png" mode="widthFix"> </image>
					</view>
					<view class="right_content">
						<view class="">
							<text>张老师</text>
							<text>(初一语文)</text>
						</view>
						<view class="">
							<text>如何高效的提高记忆力</text>
						</view>
					</view>
				</view>
				<view class="imgList">
					<image :src="left_url" mode="widthFix"></image>
					<image :src="right_url" mode="widthFix"></image>
				</view>
				<view class="time">
					<text>2小时前</text>
					<image src="../../static/tupian132.png" mode="widthFix"></image>
				</view>
				<view class="comment">
					<view class="">
						<image src="../../static/tupian133.png" mode="widthFix"></image>
						<text>花花妈妈</text>
					</view>
					<view class="">
						<text>花花妈妈:</text>
						<text>张老师怎么提高写作啊?</text>
					</view>
				</view>
				<view class="" style="width:710rpx; height:30rpx; margin-left:20rpx;border-bottom:1rpx solid #e5e5e5;">
				</view>
				<view class="" style="width:100%; height:30rpx;">
				</view>
				<view class="top">
					<view class="left_img">
						<image src="../../static/tupian120.png" mode="widthFix"> </image>
					</view>
					<view class="right_content">
						<view class="">
							<text>张老师</text>
							<text>(初一语文)</text>
						</view>
						<view class="">
							<text>如何高效的提高记忆力</text>
						</view>
					</view>
				</view>
				<view class="imgList">
					<image :src="left_url" mode="widthFix"></image>
					<image :src="right_url" mode="widthFix"></image>
				</view>
				<view class="time">
					<text>2小时前</text>
					<image src="../../static/tupian132.png" mode="widthFix"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				left_url: '../../static/tupian101.png',
				right_url: '../../static/tupian102.png',
			}
		}
	}
</script>

<style lang="scss">
	.container {
		width: 100%;
		background: #F2F2F2;
		.toggle{
			width: 100%;
			height: 68rpx;
			display: flex;
			justify-content: flex-start;
			align-items: center;
			text{
				font-size: 30rpx;
				color: #333333;
				&:nth-child(1){
					width: 110rpx;
					margin-left: 20rpx;
				}
				&:nth-child(2){
					width: 105rpx;
				}
				&:nth-child(3){
					width: 0rpx;
					margin-top: 20rpx;
					height: 0rpx;
					border-width: 14rpx 14rpx 14rpx 14rpx;
					border-color: #ccc transparent transparent transparent;
					border-style: solid;
				}
			}
		}

		.teacherList {
			width: 100%;
			background: #fff;

			.teacher {
				width: 100%;
				background: #fff;

				.top {
					width: 100%;
					height: 121rpx;
					display: flex;
					justify-content: flex-start;

					.left_img {
						width: 111rpx;
						height: 121rpx;
						display: flex;
						justify-content: center;

						image {
							width: 60rpx;
						}
					}

					.right_content {
						width: 600rpx;
						height: 121rpx;

						view {
							&:nth-child(1) {
								width: 100%;
								height: 32rpx;
								display: flex;
								justify-content: flex-start;
								align-items: center;

								text {
									font-size: 30rpx;
									color: #5b6a91;

									&:nth-child(1) {
										width: 120rpx;
									}

									&:nth-child(2) {}
								}
							}

							&:nth-child(2) {
								width: 100%;
								margin-top: 30rpx;
								height: 28rpx;
								display: flex;
								justify-content: flex-start;
								align-items: center;

								text {
									font-size: 26rpx;
									color: #333333;

									&:nth-child(1) {
										width: 100%;
									}
								}
							}
						}
					}

				}

				.imgList {
					width: 100%;
					height: 153rpx;
					margin-top: 0;
					display: flex;
					justify-content: flex-start;

					image {
						margin-top: 0;

						&:nth-child(1) {
							margin-left: 111rpx;
							width: 153rpx;
							height: 153rpx;
						}

						&:nth-child(2) {
							margin-left: 30rpx;
							width: 153rpx;
							height: 153rpx;
						}
					}
				}

				.time {
					width: 100%;
					height: 69rpx;
					display: flex;
					justify-content: flex-start;

					text {
						&:nth-child(1) {
							margin-top: 27rpx;
							font-size: 22rpx;
							margin-left: 111rpx;
							color: #b7b7b7;
							width: 550rpx;
						}
					}

					image {
						&:nth-child(2) {
							width: 64rpx;
							margin-top: 22rpx;
						}
					}

				}

				.comment {
					width: 620rpx;
					margin-left: 111rpx;
					background: #f8f8f8;

					view {
						&:nth-child(1) {
							width: 100%;
							height: 65rpx;
							box-sizing: border-box;
							border-bottom: 1rpx solid #e5e5e5;
							display: flex;
							align-items: center;
							justify-content: flex-start;

							image {
								&:nth-child(1) {
									width: 24rpx;
									margin-left: 15rpx;
								}
							}

							text {
								&:nth-child(2) {
									font-size: 24rpx;
									margin-left: 17rpx;
									color: #5b6a91;
								}
							}
						}

						&:nth-child(2) {
							width: 100%;
							height: 65rpx;
							box-sizing: border-box;
							display: flex;
							align-items: center;
							justify-content: flex-start;

							text {
								&:nth-child(1) {
									font-size: 24rpx;
									margin-left: 15rpx;
									color: #5b6a91;
								}

								&:nth-child(2) {
									font-size: 24rpx;
									margin-left: 15rpx;
									color: #666666;
								}
							}
						}
					}
				}


			}
		}
	}
</style>
